package com.zhijian.warehouse.manage.entity.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * 通道门标签感应记录导出实体
 *
 * @author auto
 * @version 1.0
 * @date 2024-10-28 17:42:23
 */
@Data
public class AccessFacilityRecordExportVo {

    @Excel(name = "序号",  format = "isAddIndex")
    private Integer serial;

    @Excel(name = "产品名称", width = 20)
    private String productName;

    @Excel(name = "产品编码", width = 20)
    private String productNumber;

    @Excel(name = "产品RFID", width = 20)
    private String rfId;

    @Excel(name = "产品状态", replace = {"正常_1", "故障_2", "作废_3", " _null"})
    private Integer productStatus;

    @Excel(name = "领用状态", replace = {"在库_0", "已领用_1", " _null"})
    private Integer useStatus;

    @Excel(name = "通道门IP", width = 20)
    private String doorIp;

    @Excel(name = "进出行为", replace = {"出_1", "进_2", " _null"})
    private Integer type;

    @Excel(name = "进出时间", width = 20)
    private String createTime;

    @Excel(name = "领用登记", replace = {"未登记_1", "已登记_2", " _null"})
    private Integer registerType;

    @Excel(name = "出入状态", replace = {"正常领出_1", "违规领出_2", "入库归还_3", "违规入库_4", " _null"})
    private Integer status;

    @Excel(name = "违规原因", width = 20)
    private String violatorMsg;

    @Excel(name = "领用人")
    private String drawUserName;

    @Excel(name = "领用时间", width = 20)
    private String drawTime;

    @Excel(name = "关联领用单号", width = 20)
    private String drawNumber;

    @Excel(name = "归还时间", width = 20)
    private String backTime;

    @Excel(name = "归还单号", width = 20)
    private String backNumber;

    @Excel(name = "归还人", width = 20)
    private String backUserName;

    @Excel(name = "是否违规", replace = {"未违规_0", "违规_1", " _null"})
    private Integer isViolator;

    @Excel(name = "异常状态", replace = {"未关闭_0", "已关闭_1", " _null"})
    private Integer abnType;

    @Excel(name = "关闭原因")
    private String msg;

    @Excel(name = "关闭时间", width = 20)
    private String updateTime;

    @Excel(name = "关闭人")
    private String closeUserName;

}
